﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin.master" AutoEventWireup="true" CodeFile="ViewTransactionDone.aspx.cs" Inherits="ViewTransactionDone" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="Css/viewtransactiondone.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="thongke">
         <div class="tieude">Statistics transaction done by customerId on Day</div>
        <div class="gridview">
            <div class="box">
            <asp:GridView ID="grvByDay" runat="server" AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" OnSelectedIndexChanging="grvByDay_SelectedIndexChanging" OnPageIndexChanging="grvByDay_PageIndexChanging" AllowPaging="True">
                <Columns>
                    <asp:BoundField DataField="customerId" HeaderText="CustomerId" />
                    <asp:BoundField DataField="name" HeaderText="Name" />
                    <asp:BoundField DataField="email" HeaderText="Email" />
                    <asp:BoundField DataField="numberOfSent" HeaderText="NumberOfSent" />
                    <asp:CommandField ShowSelectButton="True" ButtonType="Button" SelectText="View Detail" >
                    <ControlStyle BackColor="#FF6600" ForeColor="White" />
                    </asp:CommandField>
                </Columns>
                <FooterStyle BackColor="White" ForeColor="#000066" />
                <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                <RowStyle ForeColor="#000066" />
                <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                <SortedAscendingCellStyle BackColor="#F1F1F1" />
                <SortedAscendingHeaderStyle BackColor="#007DBB" />
                <SortedDescendingCellStyle BackColor="#CAC9C9" />
                <SortedDescendingHeaderStyle BackColor="#00547E" />
            </asp:GridView>
            </div>
        </div>
        <div class="tieude">Statistics transaction done by customerId so far</div>

        <div class="gridview">
            <div class="box">
            <asp:GridView ID="grvthongke" runat="server" AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" OnSelectedIndexChanging="grvthongke_SelectedIndexChanging" OnPageIndexChanging="grvthongke_PageIndexChanging" AllowPaging="True">
                <Columns>
                    <asp:BoundField DataField="customerId" HeaderText="CustomerId" />
                    <asp:BoundField DataField="name" HeaderText="Name" />
                    <asp:BoundField DataField="email" HeaderText="Email" />
                    <asp:BoundField DataField="numberOfSent" HeaderText="NumberOfSent" />
                    <asp:CommandField ShowSelectButton="True" ButtonType="Button" SelectText="View Detail" >
                    <ControlStyle BackColor="#FF6600" ForeColor="White" />
                    </asp:CommandField>
                </Columns>
                <FooterStyle BackColor="White" ForeColor="#000066" />
                <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                <RowStyle ForeColor="#000066" />
                <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                <SortedAscendingCellStyle BackColor="#F1F1F1" />
                <SortedAscendingHeaderStyle BackColor="#007DBB" />
                <SortedDescendingCellStyle BackColor="#CAC9C9" />
                <SortedDescendingHeaderStyle BackColor="#00547E" />
            </asp:GridView>
            </div>
        </div>
        
    </div>
    <div id="chitiet">
        <div class="tieude">transaction done detail by customerId</div>
        <div class="gridview">
            <br />
                <asp:GridView ID="grvTransaction" runat="server" AllowPaging="true" AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" OnPageIndexChanging="grvTransaction_PageIndexChanging">
                    <Columns>
                        <asp:BoundField DataField="LogSentMailId" HeaderText="Id" />
                        <asp:BoundField DataField="customerId" HeaderText="customerId" />
                        <asp:BoundField DataField="nameSender" HeaderText="Sender" />
                        <asp:BoundField DataField="emailSender" HeaderText="emailSender" />
                        <asp:BoundField DataField="ecardId" HeaderText="ecardId" />
                        <asp:BoundField DataField="dateSent" HeaderText="dateSent" />
                        <asp:BoundField DataField="emailReceived" HeaderText="emailReceived" />
                        <asp:BoundField DataField="nameReceived" HeaderText="nameReceived" />
                    </Columns>
                    <FooterStyle BackColor="White" ForeColor="#000066" />
                    <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                    <RowStyle ForeColor="#000066" HorizontalAlign="Center"/>
                    <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                    <SortedAscendingCellStyle BackColor="#F1F1F1" />
                    <SortedAscendingHeaderStyle BackColor="#007DBB" />
                    <SortedDescendingCellStyle BackColor="#CAC9C9" />
                    <SortedDescendingHeaderStyle BackColor="#00547E" />
                </asp:GridView>
        </div>
    </div>
</asp:Content>

